<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      function Fn(a, b) {
        console.log(a + b);
        // return undefined;
        // return {};
      }

      console.log(Fn(1, 2)); // undefined
      console.log(new Fn(3, 4)); // {}
    </script>
  </body>
</html>
